package com.lbssoft.gpsbd.model.vo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * Created by nczc on 2018/9/4.
 */
public class Developer {

    @Size(min=2, max=16, message = "请输入2-16位的企业名称")
    private String name;

    @NotNull(message = "邮箱不能为空")
    @Size(min=6, max=36, message = "请输入正确的邮箱")
    private String email;

    @NotNull(message = "电话不能为空")
    @Size(min=11, max=12, message = "请输入正确的联系方式")
    private String phone;

    @NotNull(message = "密码不能为空")
    @Size(min=6, max=16, message = "请输入6位以上的密码")
    private String password;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
